package com.xhz.mxbean;

import com.xhz.reload.Reloader;
import com.xhz.reload.Result;

public class Reload implements ReloadMXBean{
	Reloader reloader;
	
	public Reload(Reloader reloader) {
		this.reloader = reloader;
	}
	@Override
	public String reload() {
		Result result = reloader.reload();
		return result.getMsg();
	}
}
